package com.itheima.tlias08_14.mapper;

import com.itheima.tlias08_14.paramobject.ExprPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExprMapper {

    int batchInsertExpr(@Param("expr") List<ExprPO> expr);

    // 根据删除的员工ID 删除其对应的expr

    int batchDeleteExprByEmpId(@Param("ids") List<Integer> ids);

    List<ExprPO> selectExprByEmpId(@Param("empId") Integer empId);

}
